package com.example.ruanjian2012.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import com.sun.xml.internal.bind.v2.model.core.ID;
import lombok.Data;

/**
 * (Carport)表实体类
 *
 * @author makejava
 * @since 2022-05-03 10:27:43
 */
@SuppressWarnings("serial")
@Data
public class Carport extends Model<Carport> {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String carnum;

    private String isprivate;


    private String url;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

